package com.maxjay.system.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.maxjay.system.dao.BaseDao;
import com.maxjay.system.po.TSysRole;
import com.maxjay.system.service.RoleService;

@Service
@Transactional
public class RoleServiceImpl extends BaseServiceImpl implements RoleService{

	@Resource
	private BaseDao baseDao;
	
	public TSysRole getRole(String roleId) {
		return (TSysRole)baseDao.get(TSysRole.class, roleId);
	}

}
